import request from '@/api/request';

export function changeUserInfo(data) {
    return request({
        url: '/user_update/' + localStorage.getItem("user_id"),
        method: 'post',
        data: data
    })
}

export function getUserInfo(data) {
    return request({
        url: '/user/' + localStorage.getItem("user_id"),
        method: 'get',
        data: data
    })
}
